import type { EmptyMapper, AvailableMapper } from "@/lib/mapper";

/**
 * 下拉菜单中的空选项文本
 */
export const EmptyText: string = "（无）";

/**
 * 空选项对应的默认 Mapper
 */
export const DefaultMapper: EmptyMapper = { name: "DefaultMapper" };

/**
 * 新建映射器时的可用模板
 */
export const MapperTemplates: [string, AvailableMapper][] = [
    ["空映射", { name: "EmptyMapper" }],
    ["键盘映射", { name: "KeyMapper", rule: {} }],
];
